package com.example.neusoft215gdh.androidpro_21.Service;


import com.example.neusoft215gdh.androidpro_21.JavaBean.Shaitu;
import com.example.neusoft215gdh.androidpro_21.JavaBean.ShaituDetial;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Rainbow on 2017/10/11.
 */
public interface ShaituSeverice {

    @GET("lists")
    Call<List<Shaitu>> shaituList(@Query("SessionID") String SessionID,
                                  @Query("mod") String mod,
                                  @Query("related") int related

    );

    @GET("lists/mod/shaitu")
    Call<List<ShaituDetial>>  shaitudetial(@Query("SessionID") String SessionID,
                                           @Query("related") int related,
                                           @Query("id") String id

    );



}
